package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.component.data.DomainEntity;
import cn.edu.sjtu.se.dslab.project.DisplayZone;

/**
 * @author longshaohang
 *
 */
public interface IDisplayZoneService {
	
	public DisplayZone getDisplayZoneById(long id);

	public DisplayZone getDisplayZoneByName(String name);
	
	public List<DisplayZone> getDisplayZoneList();
	
	public boolean addDisplayZone(DisplayZone displayZone, long projectId);

	public DisplayZone updateDisplayZone(DisplayZone button);
	
	public boolean deleteDisplayZoneById(long buttonId);
	
	public List<DisplayZone> getDisplayZoneByProject(long projectId);
	
	public DomainEntity getDomainEntity(long displayZoneId);

	DisplayZone getDisplayZoneByProjectAndName(long projectId, String name);
	
}
